<html>
    <head>
        <meta http-equiv=content-type content="text/html; charset=utf-8" />
        <link href="css/admin.css" type="text/css" rel="stylesheet" />
        <script src="/Script/jquery-1.4.1.js"></script>
    </head>
    <body>
        <table cellspacing=0 cellpadding=0 width="100%" align=center border=0>
            <tr height=28>
                <td background=img/title_bg1.jpg>当前位置: </td></tr>
            <tr>
                <td bgcolor=#b1ceef height=1></td></tr>
            <tr height=20>
                <td background=img/shadow_bg.jpg></td></tr></table>
        <table cellspacing=0 cellpadding=0 width="90%" align=center border=0>
            <tr height=100>
                <td align=middle width=100>
					<img height=100 src="img/admin_p.gif" width=90>
				</td>
                <td width=60>&nbsp;</td>
                <td>
                    <table height=100 cellspacing=0 cellpadding=0 width="100%" border=0>

                        <tr>
                            <td>当前时间：<span id="myTime"></span></td>
						</tr>
                        <tr>
                            <td id="my" style="font-weight: bold; font-size: 16px">用户id</td>
						</tr>
                        <tr>
                            <td>欢迎进入网站管理中心！</td></tr></table></td>
						</tr>
            <tr>
         <td colspan=3 height=10></td></tr></table>
    </body>
</html>
<script>
    function showTime(){
        var time = new Date();
        var date = time.toLocaleString() ;
        document.getElementById("myTime").innerHTML=date;
    }
    setInterval("showTime()",1000);
    $(function () {
        $.ajax({
            type: "GET",
            url: "/getLoginName/", //RESTful风格的API定义
            data: "json",
            success: function (vo) {
                if(vo.code==200){
                    $("#my").html(vo.msg);
                }
            }
        });
    });
</script>